home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / emacs / src / s-umax.h < prev    next >
Text File  |  1991-01-08  |  5KB  |  175 lines

  1. /* Definitions file for GNU Emacs running on UMAX 4.2
  2.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21. /*
  22.  *    Define symbols to identify the version of Unix this is.
  23.  *    Define all the symbols that apply correctly.
  24.  */
  25.  
  26. /* #define UNIPLUS */
  27. /* #define USG5 */
  28. /* #define USG */
  29. /* #define BSD4_1 */
  30. #define BSD4_2
  31. /* #define BSD4_3 */
  32. #define BSD
  33. #define UMAX4_2
  34. #define UMAX
  35. /* #define VMS */
  36.  
  37. /* SYSTEM_TYPE should indicate the kind of system you are using.
  38.  It sets the Lisp variable system-type.  */
  39.  
  40. #define SYSTEM_TYPE "berkeley-unix"
  41.  
  42. /* NOMULTIPLEJOBS should be defined if your system's shell
  43.  does not have "job control" (the ability to stop a program,
  44.  run some other program, then continue the first one).  */
  45.  
  46. /* #define NOMULTIPLEJOBS */
  47.  
  48. /* Emacs can read input using SIGIO and buffering characters itself,
  49.    or using CBREAK mode and making C-g cause SIGINT.
  50.    The choice is controlled by the variable interrupt_input.
  51.    Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
  52.  
  53.    SIGIO can be used only on systems that implement it (4.2 and 4.3).
  54.    CBREAK mode has two disadvatages
  55.      1) At least in 4.2, it is impossible to handle the Meta key properly.
  56.         I hear that in system V this problem does not exist.
  57.      2) Control-G causes output to be discarded.
  58.         I do not know whether this can be fixed in system V.
  59.  
  60.    Another method of doing input is planned but not implemented.
  61.    It would have Emacs fork off a separate process
  62.    to read the input and send it to the true Emacs process
  63.    through a pipe.
  64. */
  65.  
  66. #define INTERRUPT_INPUT
  67.  
  68. /* Letter to use in finding device name of first pty,
  69.   if system supports pty's.  'a' means it is /dev/ptya0  */
  70.  
  71. #define FIRST_PTY_LETTER 'p'
  72.  
  73. /*
  74.  *    Define HAVE_TIMEVAL if the system supports the BSD style clock values.
  75.  *    Look in <sys/time.h> for a timeval structure.
  76.  */
  77.  
  78. #define HAVE_TIMEVAL
  79.  
  80. /*
  81.  *    Define HAVE_SELECT if the system supports the `select' system call.
  82.  */
  83.  
  84. #define HAVE_SELECT
  85.  
  86. /*
  87.  *    Define HAVE_PTYS if the system supports pty devices.
  88.  */
  89.  
  90. #define HAVE_PTYS
  91.  
  92. /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
  93.  
  94. #define HAVE_SOCKETS
  95.  
  96. /*
  97.  *    Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
  98.  *      The 4.2 opendir, etc., library functions.
  99.  */
  100.  
  101. /* #define NONSYSTEM_DIR_LIBRARY */
  102.  
  103. /* Define this symbol if your system has the functions bcopy, etc. */
  104.  
  105. #define BSTRING
  106.  
  107. /* subprocesses should be defined if you want to
  108.    have code for asynchronous subprocesses
  109.    (as used in M-x compile and M-x shell).
  110.    This is generally OS dependent, and not supported
  111.    under most USG systems. */
  112.  
  113. #define subprocesses
  114.  
  115. /* If your system uses COFF (Common Object File Format) then define the
  116.    preprocessor symbol "COFF". */
  117.  
  118. #define COFF
  119.  
  120. /* define MAIL_USE_FLOCK if the mailer uses flock
  121.    to interlock access to /usr/spool/mail/$USER.
  122.    The alternative is that a lock file named
  123.    /usr/spool/mail/$USER.lock.  */
  124.  
  125. #define MAIL_USE_FLOCK
  126.  
  127. /* Define CLASH_DETECTION if you want lock files to be written
  128.    so that Emacs can tell instantly when you try to modify
  129.    a file that someone else has modified in his Emacs.  */
  130.  
  131. #define CLASH_DETECTION
  132.  
  133. /* We use the Berkeley (and usg5.2.2) interface to nlist.  */
  134.  
  135. #define NLIST_STRUCT
  136.  
  137. /* The file containing the kernel's symbol table is called /vmunix.  */
  138.  
  139. #define KERNEL_FILE "/vmunix"
  140.  
  141. /* The symbol in the kernel where the load average is found
  142.    is named _avenrun.  */
  143.  
  144. #define LDAV_SYMBOL "_avenrun"
  145.  
  146. /* Here, on a separate page, add any special hacks needed
  147.    to make Emacs work on this system.  For example,
  148.    you might define certain system call names that don't
  149.    exist on your system, or that do different things on
  150.    your system and must be used only through an encapsulation
  151.    (Which you should place, by convention, in sysdep.c).  */
  152.  
  153. /* Specify alignment requirement for start of text and data sections
  154.    in the executable file.  */
  155.  
  156. #define SECTION_ALIGNMENT pagemask
  157.  
  158.  
  159. #define SEGMENT_MASK    (64 * 1024 - 1)
  160.  
  161.  
  162. /* crt0.c needs this for compilation because it uses asm.  */  
  163.  
  164. #define C_SWITCH_ASM -q nodirect_code
  165.  
  166. /* Encore machines with APC processor boards align sections on 4M
  167.    boundaries, so it is not easy to remap the start of the text segment
  168.    in the unexec() routine.  For them you need the following two lines.
  169.    For DPC processors you can enable these or not, as you wish, but
  170.    you will get better performance without them.  */
  171.  
  172. /* #define NO_REMAP
  173.    #define TEXT_START 0
  174. */
  175.